﻿using System;
using Repository;
using Repository.DatabaseType;

namespace Presenters
{
    public static class Repo
    {
        private static IDb database;

        public static IDb GetDatabaseInstance()
        {
            if (database == null)
                database = new SqlServer2008();
            return database;
        }
    }
}
